/*
 * auth_sesstion.h
 *
 *  Created on: Dec 12, 2013
 *      Author: killerg
 */

#ifndef AUTH_SESSTION_H_
#define AUTH_SESSTION_H_

#include "share/session_mgr.h"
#include "share/la_msg.pb.h"

struct auth_session_t : public cli_session_t<la::AMsg, la::AMsgID_ARRAYSIZE> {
    typedef cli_session_t<la::AMsg, la::AMsgID_ARRAYSIZE> base;

    bool init();

    void post_auth(
    		int64_t sessid,
    		const std::string &reqdata,
    		const std::string &mc);
    std::string ip;
    int port;

    int authing = 0;
};



#endif /* AUTH_SESSTION_H_ */
